﻿using System.Collections.Generic;
using WebProject.Core.Models;

namespace WebProject.Core.Service
{
    public interface INewsService
    {
        int Add(News news);

        bool Remove(News news);

        bool Remove(int id);

        bool Update(News news);

        IList<News> GetAllNews();

        News GetNewsById(int id);
    }
}